import request from '@/api/request'

export function getQuestionList (data) {
    return request({
        url: `/front/question/getQuestionList`,
        method: 'post',
        data
    })
}
export function getQuestionInfo (data) {
    return request({
        url: `/front/question/getQuestionInfo`,
        method: 'post',
        data
    })
}
export function getHotQuestionList (data) {
    return request({
        url: `/front/question/getHotQuestionList`,
        method: 'post',
        data
    })
}
export function getHotQuestionCateList (data) {
    return request({
        url: `/front/question/getHotQuestionCateList`,
        method: 'post',
        data
    })
}
export function addQuestion (data) {
    return request({
        url: `/front/question/addQuestion`,
        method: 'post',
        data
    })
}
export function getMyQuestionList (data) {
    return request({
        url: `/front/question/getMyQuestionList`,
        method: 'post',
        data
    })
}